@import url("./params.less");
#root {
  --bg-color: #f6f7f8;
  --main-color-deep: @mainColorDeep;
  --main-color: @mainColor;
  --main-shallow-color: @mainColor72f;
  --black-color: @black;
  --text-color: @textColor;
  --text-weaken-color: @weakenTextColor;
  --success-color: @greenColor;
  --warning-color: @orangeColor;
  --error-color: @redColor;
  --text-watermark-color: @watermarkColor;
}
#root {
  background-color: @bgColor;
}
.success {
  &-bg {
    background-color: var(--success-color);
  }
}
.warning {
  &-bg {
    background-color: var(--warning-color);
  }
}
.error {
  &-bg {
    background-color: var(--error-color);
  }
}
.main {
  &-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
  }
  &-p {
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
  }
  &-watermark {
    font-size: 12px;
    color: var(--text-watermark-color);
  }
}
.entrance-page {
  width: 100%;
  img {
    width: 100%;
  }
}
h3 {
  &.common-sub {
    margin: 0;
    font-weight: 700;
  }
}
h1 {
  &.money {
    text-align: center;
    margin: 0;
    font-weight: 700;
    color: @redColor;
  }
}
p {
  &.common-p {
    margin: 0;
    color: @blackColorDeep;
  }
  &.common-weaken {
    margin: 0;
    color: @weakenTextColor;
  }
}
.common-card {
  border-radius: 20px;
  background: #fff;
  box-shadow: 2px 2px 3px @strokeColor;
}
.tabbar-page {
  padding-bottom: 50px;
}
// 文本颜色、行动点图标与文字
.general-text-color {
  color: @textColor;
}
// 弱化文本
.weaken-text-color {
  color: @weakenTextColor;
}
// 水印文本
.watermark-text-color {
  color: @watermarkColor;
}
.disabled-text-color {
  color: @disabledColor;
}
.common-page {
  // width: 100vw;
  height: 100vh;
  background-color: @bgColor;
}
.common-padding-page {
  // height: 100vh;
  // background-color: @bgColor;
  padding: 10px;
  &.common-bg {
    background-color: @bgColor;
  }
}
.tdt-infowindow-content {
  margin: 0 !important;
}
.tdt-infowindow-content-wrapper {
  border-radius: 10px !important;
}
#mapContainer .anticon svg {
  position: relative;
}
.line-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message-card {
  margin-bottom: 10px;
  padding: 10px 10px;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 2px 2px 3px @strokeColor;
}
.standard-btn {
  .small-btn {
    height: 36px;
    border-radius: 16px;
    padding: 0 16px;
    font-size: 18px;
    font-weight: 700;
  }
  .error-btn {
    color: #fff;
    background-color: @redColor;
    border: 1px solid;
    border-color: @redColor;
  }
  .main-btn {
    color: #fff;
    background-color: @mainColor;
    border: 1px solid;
    border-color: @mainColor;
  }
}
.page-opertaion {
  width: 100%;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: space-around;
  position: absolute;
  bottom: 0;
  height: 60px;
  background-color: #fff;
  .ant-btn {
    font-weight: 700;
  }
}
.fixed-end-box {
  padding: 0 10px;
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 1;
  height: 50px;
  background-color: #fff;
  border-top: 1px solid @strokeColor;
  &.operation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    .left,
    .right {
      display: flex;
      align-items: center;
      gap: 10px;
      .van-icon {
        font-size: 22px;
        width: 30px;
      }
    }
  }
}
.common-submit-operation {
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 50px;
  position: fixed;
  bottom: 50px;
  background-color: #fff;
  box-sizing: border-box;
}
.cus-tab {
  .van-tab {
    font-weight: 700;
  }
  .van-cell__title {
    font-weight: 700;
    .van-cell__label {
      font-weight: normal;
    }
  }
}
.checkbox-page {
  .van-checkbox,
  .van-radio {
    padding: 0 5px;
  }
  .van-checkbox__label,
  .van-radio__label {
    flex: 1;
  }
  .van-cell-group {
    & + .van-cell-group {
      margin-top: 10px;
    }
  }
}
.cus-d {
  .ant-descriptions-item-label {
    color: @weakenTextColor;
  }
}
.van-tab__panel {
  > .card-item-container:nth-child(1) {
    margin-top: 10px;
  }
}
.margin-tabs {
  .van-tab__panel {
    > .van-cell-group:nth-child(1) {
      margin-top: 10px;
    }
  }
}

.van-cell {
  &.disabled {
    background-color: #dce1e6;
  }
}

.titleField .van-field__label {
  color: #111 !important;
}

.titleThree .van-cell-group__title--inset{
  color: #29bdd9;
}

.titleFour .van-cell-group__title--inset{
  color: #000;
  font-size: 20px;
  font-weight: 700;
  background-color: #eee;
  margin: 0 16px;
}

.center .van-field__label {
  text-align: center;
}

.van-badge__wrapper.messages {
  margin-left: 50px;
}